package popcorn.ticket.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import popcorn.ticket.entity.TypeClass;
import popcorn.ticket.entity.TypeClassExample;
@Repository
public interface TypeClassMapper {
    long countByExample(TypeClassExample example);

    int deleteByExample(TypeClassExample example);

    int deleteByPrimaryKey(Integer classid);

    int insert(TypeClass record);

    int insertSelective(TypeClass record);

    List<TypeClass> selectByExample(TypeClassExample example);

    TypeClass selectByPrimaryKey(Integer classid);

    int updateByExampleSelective(@Param("record") TypeClass record, @Param("example") TypeClassExample example);

    int updateByExample(@Param("record") TypeClass record, @Param("example") TypeClassExample example);

    int updateByPrimaryKeySelective(TypeClass record);

    int updateByPrimaryKey(TypeClass record);
   
}